package com.shop.zkmall.web;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties(WebProperties.PREFIX)
public class WebProperties {

    public final static String PREFIX = "zkmall.web";

    /**
     * 是否激活跨域
     */
    private boolean corsEnabled = true;

}
